/**  
 * @Title SysContants.java
 * @date 2015-2-28 上午11:08:14
 * @Copyright (c) 2015, unibroad.com Inc. All rights reserved.
 */
package com.strugglerz.model.common;

import org.apache.commons.lang3.RandomUtils;

/**
 * @Description 系统常量
 * @Class com.unibroad.touchus.schedule.common.util.SysContants
 * @author suan@unibroad.com
 * @version V1.0
 */
public class SysConstants {
    public static final String SESSION_SECURITY_CODE = "sessionSecCode";


    /** 系统根用户（超级管理员） */
    public static final String SYS_ROOT_USER = "root";

    /** 系统预设角色 - 厂商管理�? */
   /* public static final int SYS_PRE_ROLE_1_ID = 1;
    public static final String SYS_PRE_ROLE_1_CODE = "fAdmin";*/

    /**
     * 生成流水号，应用于订单ID�?
     * 
     * @return
     */
    public static String genSeriaNO() {
        return new StringBuilder(String.valueOf(System.nanoTime())).append(RandomUtils.nextInt(0, 9))
                .toString();
    }

}
